Skip to content

Conversation

nitishagar
Copy link

Prevent copy button overlap with long text in JsonView #769

Motivation and Context

  • Add right padding (pr-12) to content area to ensure text doesn't flow under the absolutely positioned copy button

How Has This Been Tested?

  • Add unit tests to verify the padding is applied correctly
  • Add E2E test to prevent regression

Breaking Changes

No

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

NA

…delcontextprotocol#769)

- Add right padding (pr-12) to content area to ensure text doesn't flow under the absolutely positioned copy button
- Add unit tests to verify the padding is applied correctly
- Add E2E test to prevent regression
@cliffhall
Copy link
Member

Hi @nitishagar Can you please include before and after screenshots so we can see what this does?

@cliffhall cliffhall added the waiting on submitter Waiting for the submitter to provide more info label Oct 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

waiting on submitter Waiting for the submitter to provide more info

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants